package com.ice.body.hardware.model;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ice.base.model.BaseModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.stereotype.Component;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
/**
 * Created by GuoYanBin.
 * Description:面部识别
 * Create Time: 2021-11-29 03:17
 */
@Component
@Data
public class DeviceFace implements Serializable {

    private Long id;

    @ApiModelProperty(value ="ip",position = 0)
    private String ip;

    @ApiModelProperty(value ="端口",position = 1)
    private String port;

    @ApiModelProperty(value ="登录账号",position = 2)
    private String userName;

    @ApiModelProperty(value ="登录密码",position = 3)
    private String pwd;

    @ApiModelProperty(value ="试剂库id",position = 4)
    private String warehouseId;

    @ApiModelProperty(value ="试剂库名称",position = 5)
    private String warehouseName;

    @ApiModelProperty(value ="1进门,2出门",position = 8)
    private Integer deviceType;

    @ApiModelProperty(value ="1单人刷脸，2双人刷脸",position = 9)
    private Integer faceType;

    @ApiModelProperty(value ="备注",position = 5)
    private String remark;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;


    private Integer status;
}
